<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <ul id="list1">
        <li>lotrm001324565</li>
        <li>lotrm002</li>
        <li>lotrm003</li>
        <li>lotrm004</li>
        <li>lotrm005</li>
    </ul>
    <ul class="list2">
        <li>lotrm001</li>
        <li>lotrm002</li>
        <li>lotrm003</li>
        <li>lotrm004</li>
        <li>lotrm005</li>
    </ul>

    <form action="">
        鱼香肉丝<input type="checkbox" name="food" id="" checked>
        杰克琼斯<input type="checkbox" name="clothing" id="">
    </form>

    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.3/jquery.js"></script>
    <script>
        //===== jQuery的选择器
        $(function () {
            console.log($('#list1'));
            console.log($('.list2'));
            console.log($('ul'));
            console.log($('.list2>li'));
            console.log($('ul+ul'));
            console.log($('li:first'));
            console.log($('input:not(:checked)'));
            $('li:odd').css('color', 'green');
            $('li:eq(5)').css('font-size', '40px')
            $('li:gt(5)').css('background-color', 'yellow')

        })








    </script>

</body>

</html>